import { createRouter, createWebHashHistory } from "vue-router";
import MyCesium from "@/views/MyCesium.vue";
import scan from "@/views/scan.vue";
import person from "@/views/person.vue";
const routes = [
  {
    path: "/MyCesium",
    name: "首页",
    component: MyCesium,
  },

  {
    path: "/",
    redirect: "/MyCesium",
  },
  {
    path: "/scan",
    name: "雷达图",
    component: scan,
  },
  {
    path: "/person",
    name: "肿瘤 ",
    component: person,
  },
];
const router = createRouter({
  history: createWebHashHistory(),
  routes,
});
export default router;
